﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Data.Redis
{
    public class KeyCommand : RedisCommand
    {
        public RedisCommandResult<bool> Expire(string key, long expirySeconds)
        {
            return Execute<bool>(RedisLiteral.Expire, key, expirySeconds);
        }
    }
}
